:root{
	--main-color:#2e4555;
	--acent-color:#EF2D2E;
	--acent-h-color:#cF0D0E;
	--diagram-color:#17094F;
	--dark-blue:#120936;
	--light-back:#F0F0F0;
	font-family: "Montserrat";
	font-size: 1em;
}
button{
	font-family: "Montserrat";
}
input,textarea,select{
	color:var(--dark-blue);
	border-color:rgba(18,9,54,0.4);
}
select{
	padding:0.5em 0.8em;
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	-ms-appearance:none;
	background-image: url("../image/select-arrow.svg");
	background-size: 1.2em 1.2em;
	background-repeat: no-repeat;
	background-position:95%;
}

input[type="checkbox"]{
	width:1.5rem;
	height: 1.5rem;
	margin-right: 0.3em;
	border-color:var(--dark-blue);
}
.index input::placeholder, .index textarea::placeholder{
	color:var(--dark-blue);
}

.switch-menu-item:hover{
	color:var(--acent-color);
	border-bottom: 3px solid var(--acent-color);
}
.menu-item-active{
	color:var(--acent-color);
	border-bottom: 3px solid var(--acent-color);
}
.acent-link{
	color:var(--acent-color);
	text-decoration: underline;
	cursor:pointer;
	transition:color 0.3s ease-in-out;
}
.dark-nav .nav-button{
	background-image: url("../image/nav-btn-dark.svg");
}
.dark-nav .nav-link>hr{
	background-color:var(--dark-blue);
}
.dark-nav .nav-link:hover{
	color:var(--dark-blue);
}
.bg-whitegray{
	background-color: #F0F0F0;
}
.acent-link:hover{
	color:var(--acent-h-color);
}
.c-darkblue{
	color:var(--dark-blue);
}
.c-acent{
	color:var(--acent-color);
}
.hb-darkblue:hover{
	border-color: var(--diagram-color);
}
.hc-darkblue:hover{
	color:var(--dark-blue);
}
.hc-diagram:hover{
	color: var(--diagram-color);
}
.bg-darkblue{
	background-color: var(--dark-blue);
}
.hbg-darkblue:hover{
	background-color: var(--diagram-color);
}
.b-darkblue{
	border-color:var(--dark-blue);
}
.bg-acent{
	background-color: var(--acent-color);
}
.hbg-acent:hover{
	background-color: var(--acent-h-color);
}
.hc-acent:hover{
	color:var(--acent-h-color);
}
.view,.comment{
	width:2.5em;
	height: 2.5em;
	background-size: contain;
}
.view{
	background-image: url("../image/views.svg");
}
.comment{
	background-image: url("../image/comment.svg");
}
.news-card+.news-card{
	margin-top:2rem;
}
.main-news>img{
	max-height: 22em;
}
.placeholder::before{
	background-color:rgba(18,9,54,0.6);
	color:white;
	top:3em;
	left:calc(50% - 7.5em);
}
.header-main{
	padding:1rem 10rem;
	background-image: url("../image/head-bg.jpg");
	background-size: cover;
	height: 50em;
	display: flex;
	flex-direction: column;
}
.navigation{
	height:3rem;
}
.logo{
	position: absolute;
	left:calc(50% - 3em);
}
.bottom-logo{
	height: 3em;
}
.site-padding{
	padding: 1rem 10rem;
}
.index .row{
	padding: 1rem 10rem;
	margin:0;
}
.index .col{
	padding: 1rem 10rem;
}
.navigation .account-foto{
	width:2.4em;
	height: 2.4em;
	border-radius: 50%;
}
.news-img{
	min-width:12em;
	height:9em;
}
#map{
	height: 500px;
	width:100%;
	z-index: 0;
}
.complain{
	background-color: var(--acent-color);
}

.image-gallery{
	height: 20em;
	padding:1em;

}

.image-gallery::-webkit-scrollbar{
	height:0px;
}
.gallery-buttons{
	display: flex;
}
.gallery-buttons>button{
	background-color: rgba(18,4,54,0.1);
	width:2rem;
	height: 2rem;
	border-radius: 50%;
	border:none;
	outline: none;
	font-size: 1.2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
}
.image-report+.image-report{
	margin-left: 1em;
}
.nav-link:hover{
	color: white;
}
.nav-link hr,.footer-link hr{
	height: 0.15em;
	background-color: white;
	border:none;
	width:0%;
	transition:width 0.3s ease-in-out;
}
.footer-top{
	height: 20em;
}
.nav-link:hover hr, .footer-link:hover hr{
	width:100%;
}
.footer-link hr{
	background-color:var(--dark-blue);
}

.button-auth{
	background-color: transparent;
	border:0.1em solid white;
	color:white;
	box-shadow: none;
	transition: background-color 0.3s ease-in-out,color 0.3s ease-out,border-color 0.3s ease-out;
}
.button-auth:hover{
	border-color:var(--acent-color);
	color:var(--acent-color);
}
.dark-nav>.navigation{
 	padding: 0 10rem;
 	padding-top:1em;
}
.dark-nav .button-auth{
	color:var(--dark-blue);
	border:0.1em solid var(--dark-blue);
}
#acc-menu{
	top: 3.5em;
	right: -0.7em;
	z-index: 10;
}
.button-acent{
	background-color: var(--acent-color);
}
.button-acent:hover{
	background-color: var(--acent-h-color);
}
#acc-menu .list-item{
	font-size: 1em;
}
#acc-menu .nav-link{
	color:white;
	background-color: var(--diagram-color);
}
#acc-menu .nav-link:hover{
	color:white;
	background-color: var(--dark-blue);
}


.notify-img-button{
	width: 1.7rem;
	height:1.7rem;
	background-image: url("../image/notify-button.svg");
	background-size: cover;
	transition: background 0.3s ease-in-out;
}
.active-notify-button{
	background-image: url("../image/notify-button-active.svg");
}

.count-notify{
	position:absolute;
	color:white;
	font-size: 0.6em;
	font-family: "Calibri";
	font-weight: bold;
	justify-content: center;
	display: flex;
	align-items: center;
	width: 1rem;
	height: 1rem;
	padding:0.2rem;
	border-radius: 50%;
	background-color: #ff3342;
	top: 0.5em;
	right: 1.5em;
}
.notify-button{
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	height:100%;
	padding: 0 1em;
	transition: background 0.3s ease-in-out;
}
.notify-button:hover .notify-img-button{
	background-image: url("../image/notify-button-active.svg");
}
.notify-container{
	position:absolute;
	top:4em;
    left:30%;
    margin-left: -16.5em;
	width:30em;
	z-index: 10;
	max-height:20em;
	color:black;
	border: 1px solid #999;
	background-color: #ddd;
}
.notify-item+.notify-item{
	border-top: 1px solid #999;
}

.notify-img{
	width: 4rem;
	height:4rem;
	border:1px solid #999;
}
.main-review{
	background-image: url("../image/bg-review.png");
	background-size: 10%;
}

/*---------------------Авторизация-------------------*/
#code-auth{
	transition: height 0.3s ease-in-out;
}
.social-auth{
	display: block;
    width: 3.3rem;
    height: 3.3rem;
    margin-left: 0.6em;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    border: 1px solid #9b9b9b;
    border-radius: 5px;
    -webkit-background-size: cover;
    background-size: cover;
    transition: background 0.3s ease-in-out;
}
.button-prev{
	font-size: 2em;
    border: none;
    background-color: transparent;
    font-weight: bold;
    outline: none;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
}

/*---------------------------АККАУНТ-------------------------*/

.acc-cont{
	background-image: url("../image/acc-back.jpg");
	background-size: cover;
	display: flex;
	flex-direction:column;
	align-items:center;
}
.arrow-login{
	transform: scaleX(2.5);
	display:block;
	font-size:0.8em;
	margin-left:0.5rem;
}
#crop-photo{
	max-width: 38em;
}
.main-content{
	padding:1rem 10rem;
}
.account-panel>.account-foto{
	width:8rem;
	height: 8rem;
	border-radius:50%;
}
.acc-data-img{
	max-width: 5em;
}
.bookmark+.bookmark{
	margin-top: 1rem;
}
.no-data figcaption{
	margin-top:0.5em;
    font-size: 0.8em;
    color:var(--lighter-gray);
}
.no-data{
	display: flex;
	width:100%;
}
.no-data figure{
	margin:12em auto;
	display: flex;
	flex-direction: column;
	align-items:center;
}

.search-button-gray{
	width:1.5em;
	height:1.5em;
	cursor: pointer;
	background-image: url("../image/search-material.svg");
	transition: background-color 0.3s ease-in-out;
	border:none;
	background-color: transparent;
	-webkit-background-size: cover;
	background-size: cover;
	outline: none;
}
.search-button-gray:hover{
	background-image: url("../image/search-material-active.svg");
}
.load-link{
	display: flex !important;
}
.load-icon{
	width: 2em;
    height: 1.4em;
    background-image: url("../image/load-blue.png");
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}
.load-link:hover .load-icon{
    background-image: url("../image/load-active.png");
}
.task-reward>figcaption>span{
	display: block;
    margin-left: 0.5em;
    min-width: 7em;
}
.task-reward>img{
	max-height: 2em;
}
.points::after{
	content: '\2605';
	color:gold;
	position: relative;
	font-size: 1.2em;
	line-height: 1.2;
}
.user-raiting>img{
	max-height: 4em;
}
.avatar-raiting{
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
    border: 2px solid var(--lighter-gray);
}
.user-name-raiting{
	min-width: 10em;
	margin-right: 2em;
	white-space: nowrap;
}
.number-raiting{
    font-size: 1.5em;
    min-width: 4rem;
    text-align: center;
}
.head-side{
	padding-bottom: 0.3em;
    font-size: 1rem;
    padding-left: 0.5em;
}
.recom-item{
	padding:1em 0.5em 0.5em;
	color: #7e7e7e;
}
.c-midgray{
	color: #7e7e7e;
}
.recom-item img{
	max-height: 1.5em;
}
.side-raiting-img{
	width:3em;
	height: 3em;
}
.side-news-img{
	min-width:5em;
	height: 5em;
}

#load-photo{
	max-width: 38em;
}

/*-------------------------АДМИНКА------------------------*/

.stat-text{
    min-width:5em;
}
.stat-panel{
	display: flex;
	flex:1;
	justify-content: space-around;
	border:1px solid var(--lighter-gray);
	border-radius: 2em;
	margin:0.2em 0;
	
	box-shadow: inset 0 0 10px 1px #ccc;
}
.stat-item{
	flex:1;
	color:var(--blue-site);
	text-align:center;
	padding: 0.5em 0;
	line-height:;
}
.stat-item+.stat-item{
    border-left: 1px solid var(--lighter-gray);
}
.container-gray{
	border:1px solid gray;
	border-radius:5px;
	background-color: #f5f5f5;
}
.list-10{
	height: 10em;
}
.list-20{
	height: 20em;
}

.item-admin,.item-block{
	cursor:pointer;
	transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.item-admin:hover{
	color:white;
	background-color: #63f;
}
.item-block:hover{
    background-color: #63f;
}
.item-block:hover span{
	color:white;
}
.card-user .card-photo{
	width:3.5em;
	height:3.5em;
}
.card-user .acc-data-img{
	max-width: 2em;
}
.admin-button{
	width:2em;
    height:2em;
}
.time-block{
	height: 2rem;
	padding:0.5rem;
	background-color: #ffff99;
	border-radius: 5px;
	font-size: 0.8em;
}

.review-item-admin+.review-item-admin{
	border-top:1px solid gray;
}

.list-30{
	min-height: 30em;
}


/*-------------------------РЕГИСТРАЦИЯ------------------*/

.register-container{
	background-image:url('../image/register-back.jpg');
	background-size: cover;
	background-position: center;
}
.register-container input,.register-container select{
	padding: 1rem;
}

.pv-08{
	padding-top:0.8rem;
	padding-bottom: 0.8rem;
}
.register-form{
	max-width: 55em;
}
.register-container input,.register-container select{
	padding:0.8rem;
}
.register-title{
	border-radius:5px 5px 0 0;
}
.policy{
	min-width: 1.3rem;
	min-height: 1.3rem;
}
.register-button{
	width:18em;
	padding-top:0.85rem;
	padding-bottom:0.85rem;
}
.post-reg{
	max-width: 30em;
    text-align: center;
    margin: 2em 0;
    font-size: 1.2em;
}
/*------------------------Загрузка-----------------------*/
.load>div{
	border-radius: 0;
	background-color: var(--acent-color);
}
.load-container{
	color:var(--acent-color);
}
/*------------------------СТАТЬИ-НОВОСТИ-----------------*/

.head-news{
	border-bottom:1px solid rgba(18,4,54,0.5);
}

.news{
	margin-top:2em;
}
.news{
	width:calc(50% - 2rem);
}
.article-content>*{
	margin-bottom: 1.5rem;
}
.article-content h1{
	line-height: 1.2;
    font-size: 1.7em;
    margin-top: 0;
    color:#63f;
}
.article-content h2{
	line-height: 1.2;
    font-size: 1.5em;
    color:#2e4555;
}
.article-content img{
	width:100%;
}
.article-content ul{
	list-style: disc;
    margin-left: 3em;
}
.article-content li+li{
	margin-top: 1em;
}

.article-content p{
	line-height: 1.5;
	margin-bottom: 1em;
}
.article-content code{
	padding: 1em;
    color: #5cccff;
    background-color: rgba(2, 0, 38, 1);
    border-radius: 5px;
    display: block;
    font-size: 1.1em;
}
.article-content hr{
	margin-bottom: 0.5em;
    border: none;
    height: 1px;
    background-color: #aaa;
}

/*-----------------------Комментарии---------------------*/

.comment-container::before,.comment-container::after{
	display: none;
}
.comment-container{
	overflow-y:initial; 
}
.comment-input{
	background-color: rgba(18, 9, 54, 0.05);
	min-height: 10em;
}
.comment-control{
	border:1px solid rgba(18, 9, 54, 0.05);
}
.comment-message{
	border:1px solid rgba(18, 9, 54, 0.05);
	border-radius: 5px;
}
.comment-message .account-foto{
	width:2.5rem;
	height: 2.5rem;
	border:1px solid rgba(18, 9, 54, 0.1);
	border-radius: 50%;
}
.comment-message+.comment-message{
	margin-top: 1.5rem;
}
.site-time{
	color:rgba(18, 9, 54, 0.7);
}


/*--------------------------ОТЗЫВЫ-----------------------*/


.noDisplay{
	opacity: 0;
}
.main-review .account-foto-container{
	box-shadow:none;
}
.review-date{
	color:rgba(18,4,54,0.7);
}
.no-send-auth{
	color:var(--blue-site);
	text-decoration: underline;
	transition: color 0.3s ease-in-out;
	cursor: pointer;
}
.user-review{
	box-shadow: 0 1em 3em 0  rgba(0,0,0,0.08);
	border:1px solid #efefef;
}
.no-send-auth:hover{
    color:var(--hover-blue);
}
.rating-point-result{
	display: flex;
}
.rating-point-result>li {
	font-size: 2em;
	line-height: 1;
	color: lightgrey;
	text-shadow: 1px 1px #bbb;
}
.rating-point-result>li:before {
	content: '\2605';
}
.rating-point-result>li.active {
	color: gold;
	text-shadow: 1px 1px #c60;
}
.send-review-form{
	padding: 1.2em;
}
.rating-area{
	display: flex;
	flex-direction: row-reverse;
}
.rating-area label{
	margin:0;
}
.rating-area:not(:checked) > input {
	display: none;
}
.rating-area:not(:checked) > label {
	padding: 0;
	cursor: pointer;
	font-size:2em;
	line-height: 0.9em;
	color: lightgrey;
	text-shadow: 1px 1px #bbb;
}
.rating-area:not(:checked) > label:before {
	content: '\2605';
}
.rating-area > input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px #c60;
}
.rating-area:not(:checked) > label:hover,
.rating-area:not(:checked) > label:hover ~ label {
	color: gold;
}
.rating-area > input:checked + label:hover,
.rating-area > input:checked + label:hover ~ label,
.rating-area > input:checked ~ label:hover,
.rating-area > input:checked ~ label:hover ~ label,
.rating-area > label:hover ~ input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px goldenrod;
}
.control-number{
    color:#9f9f9f;
    text-decoration: underline;
    cursor:pointer;
    transition: color 0.3s ease-in-out;
}
.control-number:hover{
	color:#63f;
}
.active-number{
	color:#5c94fc;
}
.message-w{
	min-width: 20em;
}
/*----------------------БАЗА КСК-------------------------*/

.search-btn{
	width:3.5em;
	height:3.5em;
	border:1px solid var(--dark-blue);
	border-radius:5px;
	border-color:rgba(18,9,54,0.4);
	background-color:transparent;
}
.hcs-item{
	border:1px solid #efefef;
	border-radius:3px;
	box-shadow: 0 1em 2em 0  rgba(0,0,0,0.08);
}
.deploy-button>span{
	display: block;
	margin-left:0.5em;
	transform: scaleX(1.5);
}
.deploy-button{
	background-color: transparent;
	display: flex;
	justify-content: center;
	font-weight: 500;
    color: var(--dark-blue);
    transition: color 0.3s ease-in-out,background-color 0.3s ease-in-out;
    border:2px solid var(--dark-blue);
}
.deploy-button:hover{
    color: white;
    background-color: var(--dark-blue);
}



/*-------------------------ТЕХ ПОДДЕРЖКА-------------*/
.button-tech{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.2em 0.5em;
	background-color: #D0CED7;
	box-shadow: 0 0.5em 2em 0  rgba(0,0,0,0.08);
	outline:none;
	color:var(--dark-blue);
	font-weight: bold;
	padding: 0.6rem;
	min-width:12em;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease-in-out,color 0.3s ease-in-out;
	margin-top:0;
	margin-left:0;
	margin-right:0.5em;
	margin-bottom: 0.5em;
}
.files-cont{
	border:2px dashed rgba(18,4,54,0.6);
	border-radius: 0.6em;
}
.files-cont img{
	width:5em;
	height: 5em;
}
.button-tech:hover{
	color:white;
	background-color: #63f;
}
.button-tech>input[type="file"]{
	display:none;
}
.file-item{
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: auto;
	padding: 0.5em;
	margin-right:0.5em;
	margin-bottom: 0.5em;
	background-color: lightgrey;
	border-radius: 5px;
	color:#555;
}
.close-file{
	outline:none;
	border:none;
	background-color: transparent;
	background-image: url("../image/close-file.png");
	background-size: cover;
	height: 0.7em;
	width: 0.7em;
	cursor: pointer;
	margin-left: 1em;
	transition: background 0.3s ease-in-out;
}
.close-file:hover{
	background-image: url("../image/close-file-active.png");
}

/*-------------------ПОЛИТИКА КОНФЕДЕНЦИАЛЬНОСТИ--------------*/
.text-policy{
	font-size: 1rem;
	background-color: #eaeaea;
	border:1px solid var(--lighter-gray);
	padding: 1.5rem 2rem;
}
.policy-container{
	max-height: calc(100% - 3.8em);
}
.text-policy h3{
    margin-left: 2rem;
    margin-bottom: 1rem;
}
.text-policy p{
	text-indent: 2rem;
	margin-bottom:1rem;
	line-height: 1.2;
}


@media(max-width:1023px) and (max-height:1023px){
	.notify-container{
		left:66%;
	}
	.nav-menu-item:hover{
		background-color: var(--dark-blue);
		transition: background 0.3s ease-in-out;
	}
	.nav-link{
		border-bottom: 1px solid white;
	}
	.c-m-darkblue{
		color: var(--dark-blue);
	}
	.bg-m-diagram{
		background-color: var(--diagram-color);
	}
	.nav-menu-item:hover a{
		color:white;
	}
	.review{
		min-width:100%;
		transform: none;
	}
	.course+.course{
		margin-top: 1rem;
	}
	.min-art+.min-art{
		margin-left: 0;
	}
	.policy-container{
		max-height: calc(100% - 5.6em);
	}
}